home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
tclMotif-1.4
/
programs
/
prog15a
< prev
next >
Wrap
Text File
|
1995-06-29
|
370b
|
16 lines
# more searching for that Motif bug: value and c should be the same
xtAppInitialize -class Program
xmCommand .command managed
.command commandEnteredCallback "print_command %length"
proc print_command {value} {
puts stdout "Command from calback: $value"
.command getValues -command c
puts stdout "Command from getvalues: $c"
}
. realizeWidget
. mainLoop